package com.pm.business.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.pm.business.mapper.BidProjectWorkflowPointMapper;
import com.pm.business.domain.BidProjectWorkflowPoint;
import com.pm.business.service.IBidProjectWorkflowPointService;

/**
 * 投标流程管理Service业务层处理
 * 
 * @author zxl
 * @date 2022-05-05
 */
@Service
public class BidProjectWorkflowPointServiceImpl implements IBidProjectWorkflowPointService 
{
    @Autowired
    private BidProjectWorkflowPointMapper bidProjectWorkflowPointMapper;

    /**
     * 查询投标流程管理
     * 
     * @param pointId 投标流程管理主键
     * @return 投标流程管理
     */
    @Override
    public BidProjectWorkflowPoint selectBidProjectWorkflowPointByPointId(Long pointId)
    {
        return bidProjectWorkflowPointMapper.selectBidProjectWorkflowPointByPointId(pointId);
    }

    /**
     * 查询投标流程管理列表
     * 
     * @param bidProjectWorkflowPoint 投标流程管理
     * @return 投标流程管理
     */
    @Override
    public List<BidProjectWorkflowPoint> selectBidProjectWorkflowPointList(BidProjectWorkflowPoint bidProjectWorkflowPoint)
    {
        return bidProjectWorkflowPointMapper.selectBidProjectWorkflowPointList(bidProjectWorkflowPoint);
    }

    /**
     * 新增投标流程管理
     * 
     * @param bidProjectWorkflowPoint 投标流程管理
     * @return 结果
     */
    @Override
    public int insertBidProjectWorkflowPoint(BidProjectWorkflowPoint bidProjectWorkflowPoint)
    {
        return bidProjectWorkflowPointMapper.insertBidProjectWorkflowPoint(bidProjectWorkflowPoint);
    }

    /**
     * 修改投标流程管理
     * 
     * @param bidProjectWorkflowPoint 投标流程管理
     * @return 结果
     */
    @Override
    public int updateBidProjectWorkflowPoint(BidProjectWorkflowPoint bidProjectWorkflowPoint)
    {
        return bidProjectWorkflowPointMapper.updateBidProjectWorkflowPoint(bidProjectWorkflowPoint);
    }

    /**
     * 批量删除投标流程管理
     * 
     * @param pointIds 需要删除的投标流程管理主键
     * @return 结果
     */
    @Override
    public int deleteBidProjectWorkflowPointByPointIds(Long[] pointIds)
    {
        return bidProjectWorkflowPointMapper.deleteBidProjectWorkflowPointByPointIds(pointIds);
    }

    /**
     * 删除投标流程管理信息
     * 
     * @param pointId 投标流程管理主键
     * @return 结果
     */
    @Override
    public int deleteBidProjectWorkflowPointByPointId(Long pointId)
    {
        return bidProjectWorkflowPointMapper.deleteBidProjectWorkflowPointByPointId(pointId);
    }
}
